//
//  ImageTools.swift
//  StudyDY
//
//  Created by yinchangming on 2018/7/9.
//  Copyright © 2018年 yinchangming. All rights reserved.
//

import Foundation
import UIKit
import Kingfisher
class ImageTools{
    class func showImage(image:UIImageView,url:URL,defaultImageString:String?="Img_default"){
        image.kf.setImage(with: url, placeholder:UIImage(named: defaultImageString!))
    }
}
